﻿using System.Collections.Generic;

namespace Infrastructure.ExternalService.Core.Responses
{
    public class CustomerProfile
    {
        /// <summary>
        /// 品牌标识
        /// </summary>
        public string BrandId { get; set; }

        /// <summary>
        /// 用户标识
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 用户来源渠道
        /// </summary>
        public string CustSourceChannel { get; set; }


        /// <summary>
        /// 用户来源渠道名称 【收据导出场景使用到】
        /// </summary>
        public string CustSourceChannelName { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string CustName { get; set; }
        /// <summary>
        /// 用户手机号
        /// </summary>
        public string CustMobile { get; set; }
        public string CustId { get; set; }

        public string CustIdCard { get; set; }

        /// <summary>
        /// 客户身份证件号码（秘串）
        /// </summary>           
        public string CustIdCardSecret { get; set; }

        public string CustCreatedDate { get; set; }
        public string CustCreator { get; set; }
        public string CustGender { get; set; }
        public string CustMobileAreaCode { get; set; }
        public string UserLoginName { get; set; }

        public string CustMobileAreaName { get; set; }

        /// <summary>
        /// 工作单位
        /// </summary>
        public string CustWorkUnit { get; set; }

        public List<Project> Projects { get; set; }

        public class Project
        {
            public string ProjectId { get; set; }
            public string ProjectName { get; set; }
            public string CustProjOwner { get; set; }
            public string CustProjOwnerName { get; set; }
            public string CustProjSchool { get; set; }
            public string CustProjSchoolName { get; set; }
            public string CustProjDpt { get; set; }
            public string CustProjDptName { get; set; }
            public string OldProjectId { get; set; }
            public CustomerProfile Customer { get; set; }
        }

        public class CustomerProject
        {
            public string SourceChannel { get; set; }
            public Project Project { get; set; }
        }
    }
}